<template>
  <div class="nomoney">
    <van-nav-bar title="未付款订单" left-arrow @click-left="back" />
    <div class="content">
      <div class="img_wrapper" style="display:none">
        <img src="../assets/indent.png" alt />
      </div>
      <div class="item">
        <div class="title">
          <div class="name">
            <span>收货人 :</span>
            <span>***</span>
          </div>
          <div class="address">
            <span>收货地址 :</span>
            <span>***</span>
          </div>
        </div>
        <div class="prod">
          <div class="pimg">
            <img src="//img.zaozuo.com/6bbe149ce2a195ba3ac62e3795f116d1@!small" />
          </div>
          <div class="pdes">
            <p class="pname">商品名</p>
            <p class="pdesc">描述</p>
            <p class="pprice">￥4999</p>
          </div>
          <div class="num">×11</div>
          <div class="total">
            <p>总价 : ￥9999</p>
          </div>
        </div>
        <div class="close">
            <i class="iconfont icon-fork"></i>
        </div>
      </div>
      <div class="go">
        去付款
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "nomoney",
  methods: {
    back() {
      this.$router.go(-1);
    }
  }
};
</script>

<style scoped>
.van-icon {
  color: #333;
  font-size: 36px;
}
.van-ellipsis {
  font-size: 30px;
}
.img_wrapper {
  padding-bottom: 230px;
  padding-top: 400px !important;
  width: 341px;
  height: 341px;
  margin: 0 auto;
}
.img_wrapper img {
  width: 100%;
}
.content {
  background: #f4f4f4;
  height: 1242px;
}
.item {
  margin-top: 20px;
  overflow: hidden;
  float: left;
  width: 100%;
  padding:0;
  position:relative;
}
.title {
  padding: 15px 36px 0;
  background: #fff;
  font-size: 26px;
}
.prod {
  padding: 15px 36px 0;
  float: left;
  background: #fff;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
.prod .pimg {
  width: 156px;
  margin-left: 20px;
  margin-right: 15px;
  float: left;
}
.prod .pimg img {
  width: 100%;
}
.prod .pdes {
  float: left;
  margin-left: 10px;
}
.prod .pdes p {
  margin: 5px 0;
}
.prod .pdes .pname {
  font-size: 30px;
}
.prod .pdes .pdesc {
  color: #a0a0a0;
  font-size: 24px;
}
.prod .pdes .pprice {
  margin-top: 40px;
  font-size: 28px;
}
.prod .num {
  float: left;
  position: absolute;
  right: 30px;
  bottom: 100px;
}
.total {
  background: #fff;
  text-align: right;
  font-size: 28px;
  color: #000;
  padding-top: 150px;
}
.close{
    position: absolute;
    top:20px;
    right:20px;
}
.close i{
    font-size:26px;
}

.go{
  width:90%;
  height:100px;
  background: #000;
  color: #fff;
  text-align: center;
  line-height: 100px;
  font-size:28px;
  position: absolute;
  left:5%;
  bottom: 5%;
}
</style>